<template>
     <el-dialog append-to-body :visible.sync="open" width="60%" :before-close="handleClose" class="demandFormVisible_dialog">
          <template slot="title">
            <el-tooltip v-if="celldbData.label != undefined" class="item" :disabled="celldbData.label.length > 33 ? false : true" effect="dark" :content="celldbData.label"
                        placement="bottom-start">
              <div class="text-ellipsis" style="height: 20px; width: 50%">{{ celldbData.label }}</div>
            </el-tooltip>
            <div v-else style="height: 20px">{{ celldbData.label }}</div>
          </template>
          <!-- start  开放鉴定初审 -->
          <!-- <div class="demandFormVisible_dialog" v-if="celldbData.NEWTITLE">
               <el-dialog :close-on-click-modal="false" :title="'鉴定'" :visible.sync="demandFormVisible" class="intf-dialog"
                    width="25%" :modal="false" v-dialogDrag :show-close="false">
                    <el-row>
                         <el-col :span="24" style="margin:20px 0 20px 0">
                              <p v-if="isNEWTITLE" v-html="celldbData.NEWTITLE"></p>
                              <p v-else>暂无敏感词</p>
                         </el-col>
                    </el-row>
                    <el-form class="demo-ruleForm">
                         <el-form-item label="开放控制" prop="region">
                              <el-select placeholder="请选择" v-model="jdvalue">
                                   <el-option v-for="item in dict.type.IS_OPENS" :key="item.value" :label="item.label"
                                        :value="item.value"></el-option>
                              </el-select>
                         </el-form-item>
                    </el-form>
                    <span slot="footer">
                         <el-button type="primary" @click="onBlurDeitTap">确 定</el-button>
                    </span>
               </el-dialog>
          </div> -->

          <!-- end  开放鉴定初审 -->
          <!-- {{ subString }}{{ celldbData.substr }}== -->
          <div class="headerInfoButton" v-if="subString == 'F'">
               <el-button type="warning" plain @click="onInfoTap(1, 1)">案卷信息</el-button>
               <el-button type="primary" plain v-hasPermi="['archive:wjzl:dhOfCheckForDefects']" v-show="module == 'preArchiving'" @click="leakFilling">档号查缺</el-button>
          </div>
          <div class="headerInfoButton" v-if="subString == 'V'">
               <el-button type="success" plain @click="onInfoTap(3, 3)">项目信息</el-button>
          </div>

          <div class="headerInfoButton" v-if="subString == 'F' && celldbData.substr !== undefined">
               <el-button type="success" plain @click="onInfoTap(3, 1)">项目信息</el-button>
               <el-button type="warning" plain @click="onInfoTap(1, 1)">案卷信息</el-button>
               <el-button type="primary" plain v-hasPermi="['archive:wjzl:dhOfCheckForDefects']" v-show="module == 'preArchiving'" @click="leakFilling">档号查缺</el-button>
          </div>
          <div>
               <tableList v-if="tableHeaderList.length > 0" :tableHeaderList="tableHeaderList" :tableData="tableData" :tableId="tableId"
                    :loading="loading" :tableHeight="tableHeight" @celldblclick="celldblclick" @shengchaclick="shengchaclick"
                    @sortChange="sortChange" :isChuSHen="isChuSHen" :isFuSHen="isFuSHen" :isSelection="isSelection"
                    @onBlurDeitTap="onBlurDeitTap" :iskfjdorbgqx='iskfjdorbgqx' :isDgdUpdate="isDgdUpdate" @handleDgdDeit="handleDgdDeit"
                    :isLxjsUpdate="isLxjsUpdate" :subString="subString" @handleLxjsDeit="handleLxjsDeit" :isWjzlUpdate="isWjzlUpdate" @handleWjzlDeit="handleWjzlDeit"
                    :isDazjUpdate="isDazjUpdate" @handleDazjDeit="handleDazjDeit" :tenantCode="tenantCode">
               </tableList>
          </div>
          <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
               @pagination="getlistPost" />
          <!-- label: '基本数据=1  过程数据=2  固化信息=3 其他数据=4' -->
          <mt-popup v-model="visibleOpen" stretch position="right" style="height:100%;width: 25%; padding:0 20px">
               <div class="popup-main">
                    <el-tabs v-model="activeName" @tab-click="tabVisibleClick">
                         <el-tab-pane label="基本数据" name="1">
                              <ul class="dataList info-scroll" style="overflow-y:scroll;height:calc(100vh - 95px)">
                                   <li v-for="(item, index) in dataInfo" :key="index">
                                        <label>{{ item.FIELD_CAPTION }}:</label>
                                        <span v-if="dictList[item.FIELD_NAME]">
                                             <span v-for="(i, idx) in dictList[item.FIELD_NAME]" :key="idx">
                                                  {{ item.value == i.dictValue ? i.dictLabel : '' }}
                                             </span>
                                        </span>

                                        <span
                                             v-else-if="item.FIELD_NAME == 'IS_ENTITY' || item.FIELD_NAME == 'IS_PROJECT' || item.FIELD_NAME == 'IS_EFILE'">
                                             {{ item.value == '1' ? '是' : '否' }}
                                        </span>
                                        <span v-else-if="item.FIELD_NAME == 'STATE'">
                                             <span v-for="(i, idx) in stateOption" :key="idx">
                                                  {{ item.value == i.value ? i.label : '' }}
                                             </span>
                                        </span>

                                        <span v-else class="nowrap-1">{{ item.value }}</span>
                                   </li>
                              </ul>
                         </el-tab-pane>
                         <el-tab-pane label="过程数据" name="2">
                              <ul class="dataList" style="overflow-y:scroll;height:calc(100vh - 95px)">
                                   <li v-for="(item, index) in businessInfo" :key="index">
                                        <label>{{ item.userName }} {{ item.actionTime }} {{ item.name }}</label>
                                       <!-- <p v-if="dictList[item.FIELD_NAME]">
                                             <span v-for="(i, idx) in dictList[item.FIELD_NAME]" :key="idx">
                                                  {{ item.value == i.dictValue ? i.dictLabel : '' }}
                                             </span>
                                        </p>

                                        <p
                                             v-else-if="item.FIELD_NAME == 'IS_ENTITY' || item.FIELD_NAME == 'IS_PROJECT' || item.FIELD_NAME == 'IS_EFILE'">
                                             {{ item.value == '1' ? '是' : '否' }}
                                        </p>
                                        <p v-else-if="item.FIELD_NAME == 'STATE'">
                                             <span v-for="(i, idx) in stateOption" :key="idx">
                                                  {{ item.value == i.value ? i.label : '' }}
                                             </span>
                                        </p>

                                        <p v-else class="nowrap-1">{{ item.value }}</p>-->
                                   </li>
                              </ul>
                         </el-tab-pane>
                         <el-tab-pane label="属性信息" name="3">
                              <ul class="dataList " style="overflow-y:scroll;height:calc(100vh - 95px)">

                                   <li v-for="(item, index) in dataInfo" :key="index">
                                        <label>{{ item.FIELD_CAPTION }}:</label>
                                        <span v-if="dictList[item.FIELD_NAME]">
                                             <span v-for="(i, idx) in dictList[item.FIELD_NAME]" :key="idx">
                                                  {{ item.value == i.dictValue ? i.dictLabel : '' }}
                                             </span>
                                        </span>

                                        <span
                                             v-else-if="item.FIELD_NAME == 'IS_ENTITY' || item.FIELD_NAME == 'IS_PROJECT' || item.FIELD_NAME == 'IS_EFILE'">
                                             {{ item.value == '1' ? '是' : '否' }}
                                        </span>
                                        <span v-else-if="item.FIELD_NAME == 'STATE'">
                                             <span v-for="(i, idx) in stateOption" :key="idx">
                                                  {{ item.value == i.value ? i.label : '' }}
                                             </span>
                                        </span>

                                        <span v-else class="nowrap-1">{{ item.value }}</span>
                                   </li>
                              </ul>
                         </el-tab-pane>
                         <el-tab-pane label="其他数据" name="4">
                              <ul class="dataList" style="overflow-y:scroll;height:calc(100vh - 95px)">

                                   <li v-for="(item, index) in dataInfo" :key="index">
                                        <label>{{ item.FIELD_CAPTION }}:</label>
                                        <span v-if="dictList[item.FIELD_NAME]">
                                             <span v-for="(i, idx) in dictList[item.FIELD_NAME]" :key="idx">
                                                  {{ item.value == i.dictValue ? i.dictLabel : '' }}
                                             </span>
                                        </span>

                                        <span
                                             v-else-if="item.FIELD_NAME == 'IS_ENTITY' || item.FIELD_NAME == 'IS_PROJECT' || item.FIELD_NAME == 'IS_EFILE'">
                                             {{ item.value == '1' ? '是' : '否' }}
                                        </span>
                                        <span v-else-if="item.FIELD_NAME == 'STATE'">
                                             <span v-for="(i, idx) in stateOption" :key="idx">
                                                  {{ item.value == i.value ? i.label : '' }}
                                             </span>
                                        </span>

                                        <span v-else class="nowrap-1">{{ item.value }}</span>
                                   </li>
                              </ul>
                         </el-tab-pane>
                    </el-tabs>
               </div>
          </mt-popup>

          <!--start  组件详情   :iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限  :iskfjdorbgqx="2" 销毁 -->
          <jianDetailsOpen v-if="jianDetailsOpen" :open="jianDetailsOpen" :celldbData="dataInfoCell2" :borrowItemId="borrowItemId" :module="module"
               @detailsHandleClose="detailsHandleClose" @onBlurDeitTap="onBlurDeitTap" :iskfjdorbgqx='iskfjdorbgqx' :tenantCode="tenantCode">
          </jianDetailsOpen>
          <!--end 组件详情 -->
          <!-- start 组卷\项目详情 -->
          <juan-component v-if="projectjuanDetailsOpen" :open="projectjuanDetailsOpen" :celldbData="dataInfoCell2" :module="module" :treeRowData="treeRowData" table="historyshop2"
               @detailsHandleClose="detailsHandleClose" :iskfjdorbgqx='iskfjdorbgqx' :isParams="isParams" :borrowItemId="borrowItemId" :tenantCode="tenantCode"></juan-component>
          <!-- end 组卷\项目详情 -->

         <!-- start  档号查缺 -->
         <LeakFilling :leak="leak" @leakCancel="leakCancel" ref="leakRef"></LeakFilling>
         <!-- end  档号查缺 -->

         <!-- start 组件著录、修改 -->
         <jiandeit v-if="jianOpen" :open="jianOpen" :openInfo="openInfo" @closeDelDialog="closeDelDialog"
                   @submitDetail="submitDetail" :isParams="isParams">
         </jiandeit>
         <!-- end  组件著录、修改-->

         <!-- start 组卷著录、修改 -->
         <juandeit v-if="juanOpen" :open="juanOpen" :openInfo="openInfo" @closeDelDialog="closeDelDialog"
                   @submitDetail="submitDetail" :isParams="isParams"></juandeit>
         <!-- end  组卷著录、修改-->

         <!-- start 待归档 组件著录、修改 -->
         <!-- <dgdJiandeit v-if="dgdJianOpen" :open="dgdJianOpen" :openInfo="openInfo" @closeDelDialog="closeDelDialog"
                   @submitDetail="submitDetail">
         </dgdJiandeit> -->
         <!-- end 待归档 组件著录、修改-->

         <!-- start 待归档 组卷著录、修改 -->
         <!-- <dgdJuandeit v-if="dgdJuanOpen" :open="dgdJuanOpen" :openInfo="openInfo" @closeDelDialog="closeDelDialog"
                   @submitDetail="submitDetail"></dgdJuandeit> -->
         <!-- end 待归档 组卷著录、修改-->
     </el-dialog>
</template>
<script>
import { choucha0 } from "@/api/archive/archivalAppraisal/openness/openArchivesFuShen"
import { choucha1 } from "@/api/archive/archivalAppraisal/bgqx/openArchivesFuShen"
import { choucha2 } from "@/api/archive/archivalAppraisal/destruction/openArchivesFuShen"
import { choucha3 } from "@/api/archive/archivalAppraisal/classificationIdentify/openArchivesFuShen"
import { getlistbyparentId, getthbytreenodeHeaderList, getDataInfo ,getBusinessInfo} from "@/api/archive/fileCollection/offlinReception.js";
import { getdetaillist, updateshending, updateliyou, updatebeizhu } from "@/api/archive/archivalAppraisal/openness/openArchivesAppraisal"//获取开放鉴定初审和复审列表项目内案卷列表/获取卷内件列表接口
import { getbgqx_detaillist, bgqx_updateshending, bgqx_updateliyou, bgqx_updatebeizhu } from "@/api/archive/archivalAppraisal/bgqx/openArchivesAppraisal.js"//获取保管期限初审和复审列表项目内案卷列表/获取卷内件列表接口
import { getmj_detaillist, mj_updateshending, mj_updateliyou, mj_updatebeizhu } from "@/api/archive/archivalAppraisal/classificationIdentify/openArchivesAppraisal.js"//获取密级鉴定初审和复审列表项目内案卷列表/获取卷内件列表接口
import { getxh_detaillist, xh_updateshending, xh_updateliyou, xh_updatebeizhu } from "@/api/archive/archivalAppraisal/destruction/openArchivesAppraisal.js"//获取销毁初审和复审列表项目内案卷列表/获取卷内件列表接口
import { getGroupTree } from "@/api/archive/archivesCategory.js"
import '@/assets/styles/index.scss' // global css
import tableList from "@/components/tableList/index.vue"
import jianDetailsOpen from '@/components/componentsJianDetails/index.vue' //件详情
import { getLastIndexOf } from "@/utils/index.js"
import { getDicts_archive } from '@/api/archive/dict/dictManageData'
import LeakFilling from "@/views/archive/fileCollection/fileOrganization/fileQrganizationTobeArchived/leakFilling"; // 档号查缺
import jiandeit from "@/views/archive/fileCollection/offlinReception/jiandeit.vue"; //件添加修改弹窗
import juandeit from "@/views/archive/fileCollection/offlinReception/juandeit.vue" //卷添加修改弹窗
// import dgdJiandeit from "@/views/archive/fileCollection/fileOrganization/fileQrganizationTobeArchived/jiandeit.vue"; //件添加修改弹窗
// import dgdJuandeit from "@/views/archive/fileCollection/fileOrganization/fileQrganizationTobeArchived/juandeit.vue" //卷添加修改弹窗
export default {
     name: 'juan-component',
     //chuFushenParams   如果chuFushenParams!=undefined  是开放鉴定初审和复审列表进入 组卷\项目详情，table列表接口数据调用初审和复审的列表
     //  module: preArchiving代表预归档传来的  treeRowData是门类树数据
    // :borrowItemId  借阅记录菜单传的itemId
     props: ["celldbData", "open", "isDelete", 'chuFushenParams', 'module', 'treeRowData', 'borrowItemId', 'isParams', 'table','tenantCode'],
     // archive_Dicts: ['MJ', 'BGQX', 'IS_OPENS', 'CSLY'],
     components: {
          tableList,
          jianDetailsOpen,
          LeakFilling,
          jiandeit,
          juandeit,
          // dgdJiandeit, dgdJuandeit
     },
     watch: {
          celldbData: {
               async handler(valNew) {
                    var that = this;
                    if (valNew.NEWTITLE) {
                         this.isNEWTITLE = valNew.NEWTITLE.search("</span>") != -1 //判断是否有敏感词
                         this.jdvalue = valNew.CHUSHEN_JIANDING
                    }
                    for (var i = 0; i < valNew.tableHeaderList.length; i++) {
                         if (valNew.tableHeaderList[i].SHOWTYPE == 5) {
                              await getDicts_archive(valNew.tableHeaderList[i].FIELD_NAME,{tenantCode:this.tenantCode}).then((res) => {
                                   this.dictList[valNew.tableHeaderList[i].FIELD_NAME] = res.data;
                              })

                         }
                    }
                    this.dictList = that.dictList;
                    this.tableHeightData();
                    this.dataInfoCell = valNew;
                    this.getGroupTreePost();
               }, immediate: true
          },
          chuFushenParams: {
               handler(valNew) {
                     console.log(valNew,"+++")
                    if (valNew != undefined) {
                         this.isChuSHen = valNew.isChuSHen //开放档案初审 列表是否展示
                         this.isSelection = valNew.isSelection //复选框是否显示 false 隐藏  true 显示
                         this.isFuSHen = valNew.isFuSHen //开放档案复审 列表是否展示
                         this.iskfjdorbgqx = valNew.iskfjdorbgqx//iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限   :iskfjdorbgqx="2" 销毁鉴定  :iskfjdorbgqx="3" 密级鉴定
                    }
               }, immediate: true
          },
       table: {
            // 用于table横向滚动条
            handler(val) {
              if (val == undefined) {
                this.tableId = 'historyshop1'
              } else {
                this.tableId = val
              }
            },immediate: true
       }
     },
     data() {
          return {
               isNEWTITLE: "",
               demandFormVisible: true,
               visibleOpen: false, //文件、案卷、项目信息展示效果是否弹窗
               activeName: "1",//默认显示第一个'基本数据=1  过程数据=2  固化信息=3 其他数据=4'
               dataInfo: [], //文件、案卷、项目信息数据显示
               businessInfo: [], //过程信息数据显示
               tableHeaderList: [], //table表头数据
               tableData: [],//table列表数据
               total: 0,
               loading: false,
               tableHeight: "",
               jianDetailsOpen: false,//件详情弹窗
               projectjuanDetailsOpen: false,//卷详情弹窗
               dataInfoCell: "",
               isChuSHen: false, //开放档案初审 列表是否展示
               isFuSHen: false, //开放档案复审 列表是否展示
               isSelection: true,  //复选框是否显示 false 隐藏  true 显示
               iskfjdorbgqx: "",  // //:iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限 :iskfjdorbgqx='2'  销毁
               // 查询参数
               queryParams: {
                    pageNum: 1,
                    pageSize: 10,
                    propertyName: [],
                    propertyValue: [],
                    state: 1,
                    cate: []
               },
               subString: "",
               categoryInfo: "",
               /*1:预归档-未接收
               2:预归档-已接收
               3:数字化成果未接收
               4:归档审批中
               5:已归档
               6:移交审批中
               7:已移交
               8:销毁
               9:预归档审批中
               10:预归档*/
               stateOption: [
                    { value: 1, label: '预归档-未接收' },
                    { value: 2, label: '预归档-已接收' },
                    { value: 3, label: '数字化成果未接收' },
                    { value: 4, label: '归档审批中' },
                    { value: 5, label: '已归档' },
                    { value: 6, label: '移交审批中' },
                    { value: 7, label: '已移交' },
                    { value: 8, label: '销毁' },
                    { value: 9, label: '预归档审批中' },
                    { value: 10, label: '预归档' },
               ],
               typeList: [
                    { value: 0, label: '离线接收' },
                    { value: 1, label: '在线接收' },
                    { value: 2, label: '档案接收' },
               ],
               jdvalue: "",
               rowInfo: "",

               dictList: {},  //字典项
              // 档号查缺
              leak: {
                // 是否显示弹出层
                open: false,
              },
              isDgdUpdate: false, // 待归档案卷层双击是否展示修改
              isLxjsUpdate: false, // 离线收集双击是否展示修改
              isWjzlUpdate: false, // 文件整理双击是否展示修改
              isDazjUpdate: false, // 档案征集双击是否展示修改
              jianOpen: false,
              juanOpen: false,
              openInfo: { //件 卷  项目
                opens: false,
                categoryId: undefined,
                menuId: undefined,
                type: undefined
              },
            tableId: ''
          }
     },
     methods: {



          /**点击树节点,获取table表头数据 */
          getlistHeaderPost(categoryInfo) {
               console.log(this.dataInfoCell,"klsdfjklsdj")
               this.queryParams.isDel = this.dataInfoCell.isDel;
               this.queryParams.categoryId = this.dataInfoCell.categoryId;
               this.queryParams.menuId = this.dataInfoCell.menuId;
               this.queryParams.tenantCode = this.tenantCode;
               if (this.dataInfoCell.substr == undefined) {
                    if (getLastIndexOf(this.dataInfoCell.sub_table_name) == "F") {  //F 件
                         this.queryParams.subTableName = ""
                    } else if (getLastIndexOf(this.dataInfoCell.sub_table_name) == "V") { //卷
                         this.queryParams.subTableName = categoryInfo.fileTableName
                    } else { //项目
                         this.queryParams.subTableName = categoryInfo.folderTableName
                    }
               } else {
                    this.queryParams.subTableName = this.dataInfoCell.substr
               }
               this.subString = getLastIndexOf(this.queryParams.subTableName)
                // 待归档双击卷层打开可以修改件
                if (this.module == 'preArchiving') {
                  this.isDgdUpdate = true
                } else {
                  this.isDgdUpdate = false
                }
                // 离线收集双击出现修改按钮
                if (this.module == 'fileCollection') {
                  this.isLxjsUpdate = true
                } else {
                  this.isLxjsUpdate = false
                }
                // 文件整理双击出现修改按钮
                if (this.module == 'fileOrganization') {
                  this.isWjzlUpdate = true
                } else {
                  this.isWjzlUpdate = false
                }
                // 档案征集双击出现修改按钮
                if (this.module == 'archivesCollection') {
                  this.isDazjUpdate = true
                } else {
                  this.isDazjUpdate = false
                }
               getthbytreenodeHeaderList(this.queryParams).then(response => {
                    this.tableHeaderList = response.rows;
                    var fields = []
                    for (var i in response.rows) {
                         fields.push(response.rows[i].FIELD_NAME)
                    }
                    this.queryParams.fields = fields.toString();
                    this.queryParams.parentId = this.dataInfoCell.id;
                    this.queryParams.level = this.dataInfoCell.level;
                    // console.log(this.chuFushenParams, "klsdfjklsliuhaor")
                    this.getlistPost();
               });
          },
          /** 点击树节点,获取table数据*/
          getlistPost() {
               console.log(this.chuFushenParams, "+_++++")
               if (this.chuFushenParams != undefined) { //调用开放鉴定和保管期限初审和复审列表
                    // console.log(this.chuFushenParams,this.chuFushenParams.isChuSHen,"+++++++++++++++++")
                    // iskfjdorbgqx:0 //:iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限
                    if (this.chuFushenParams.iskfjdorbgqx == '0') {   //调用开放鉴定限初审和复审列表
                         getdetaillist({
                              renwuid: this.chuFushenParams.renwuid,
                              daid: this.chuFushenParams.daid,
                              menuId: this.queryParams.menuId,
                              order: this.queryParams.order,
                              fields: this.queryParams.fields,
                              level: this.chuFushenParams.level,
                              pageNum: this.queryParams.pageNum,
                              pageSize: this.queryParams.pageSize
                         }).then(response => {
                              this.tableData = response.rows;
                              this.total = response.total;
                              this.loading = false;
                         })
                    }
                    if (this.chuFushenParams.iskfjdorbgqx == '1') {   //调用保管期限限初审和复审列表
                         getbgqx_detaillist({
                              renwuid: this.chuFushenParams.renwuid,
                              daid: this.chuFushenParams.daid,
                              menuId: this.queryParams.menuId,
                              order: this.queryParams.order,
                              fields: this.queryParams.fields,
                              level: this.chuFushenParams.level,
                              pageNum: this.queryParams.pageNum,
                              pageSize: this.queryParams.pageSize
                         }).then(response => {
                              this.tableData = response.rows;
                              this.total = response.total;
                              this.loading = false;
                         })
                    }

                    if (this.chuFushenParams.iskfjdorbgqx == '2') {   //调用销毁初审和复审列表
                         getxh_detaillist({
                              renwuid: this.chuFushenParams.renwuid,
                              daid: this.chuFushenParams.daid,
                              menuId: this.queryParams.menuId,
                              order: this.queryParams.order,
                              fields: this.queryParams.fields,
                              level: this.chuFushenParams.level,
                              pageNum: this.queryParams.pageNum,
                              pageSize: this.queryParams.pageSize
                         }).then(response => {
                              this.tableData = response.rows;
                              this.total = response.total;
                              this.loading = false;
                         })
                    }

                    if (this.chuFushenParams.iskfjdorbgqx == '3') {   //调用密级鉴定初审和复审列表
                         getmj_detaillist({
                              renwuid: this.chuFushenParams.renwuid,
                              daid: this.chuFushenParams.daid,
                              menuId: this.queryParams.menuId,
                              order: this.queryParams.order,
                              fields: this.queryParams.fields,
                              level: this.chuFushenParams.level,
                              pageNum: this.queryParams.pageNum,
                              pageSize: this.queryParams.pageSize
                         }).then(response => {
                              this.tableData = response.rows;
                              this.total = response.total;
                              this.loading = false;
                         })
                    }
               } else {
                    getlistbyparentId(this.queryParams).then(response => {
                         this.tableData = response.rows;
                          if(this.celldbData.approvalStatus == '2' && this.celldbData.mjType != undefined) {
                            for (let i = 0; i < this.tableData.length; i++) {
                              this.tableData[i].MJ = this.celldbData.mjType
                            }
                          }
                         this.total = response.total;
                         this.loading = false;
                    });
               }

          },


          //档案门类树门类根据categoryID回显
          getGroupTreePost() {
               getGroupTree(this.dataInfoCell.categoryId,{tenantCode:this.tenantCode}).then(response => {
                    this.categoryInfo = response.data;
                    this.getlistHeaderPost(response.data)
               });
          },
          //动态设置table的高度
          tableHeightData() {
               this.$nextTick(
                    () => {
                         let h = 650;

                         //  h = h + 100
                         if (this.$refs.queryForm) { // 页面上如果有面包屑区域徐减去它的高度
                              h = h - this.$refs.queryForm.$el.offsetHeight
                         }

                         if (this.$refs.refbut) { // 页面上如果有分页区域徐减去它的高度
                              h = h - this.$refs.refbut.$el.offsetHeight
                         }
                         this.tableHeight = h > 310 ? h : 310 // 根据自己项目定高度
                         return h
                    }
               )
          },
          //点击获取文件/案卷/项目信息
          onInfoTap(infotype, datatype) {
               var that = this;
               that.visibleOpen = true;
               this.activeName = "1";
               this.getInfoPost(infotype, datatype)
          },

          getInfoPost(infotype, datatype) {
               getDataInfo({
                    infotype: infotype,
                    datatype: datatype,
                    categoryId: this.dataInfoCell.categoryId,
                    id: this.dataInfoCell.id,

               }).then(res => {
                    if (res.data.datalist.length > 0) {
                         this.datalistAll = res.data.datalist
                         // 只针对密级审批  密级审批会传mjType
                         if (this.celldbData.approvalStatus == '2' && this.celldbData.mjType != undefined) {
                              res.data.datalist.find(item => item.FIELD_NAME == 'MJ').value = this.celldbData.mjType
                         }
                         this.dataInfo = res.data.datalist.filter(res => {
                              return res.ZSFL == this.activeName
                         })
                    }

               })
          },
          tabVisibleClick(tab, event) {
               var that = this;
               this.activeName = tab.name;
               if (this.activeName==2){
                 getBusinessInfo(this.dataInfoCell.id).then(res=>{
                   this.businessInfo = res.rows;
                 })
                 //this.businessInfo
               }else{
                 // console.log(this.datalistAll, "+++++++++++++")
                 this.dataInfo = this.datalistAll.filter(res => {
                   return res.ZSFL == this.activeName
                 });
               }

          },
          //关闭
          handleClose() {
               this.$emit("detailsHandleClose")
          },

          //双击列表进入件详情页面
          celldblclick(row) {
               // console.log(row,row.NEWTITLE, "+++++22222222222222222222+111++++++++")
               var subTableName = ""
               var label = ""
               if (getLastIndexOf(this.queryParams.subTableName) == "F") {  //F 件
                    subTableName = ""
                    label = row.TITLE
               } else if (getLastIndexOf(this.queryParams.subTableName) == "V") { //卷
                    subTableName = this.categoryInfo.fileTableName
                    label = row.TITLE
               } else { //项目
                    subTableName = this.categoryInfo.folderTableName
                    label = row.XMMC
               }

               this.dataInfoCell2 = {
                    id: row.ID,
                    categoryId: this.queryParams.categoryId,
                    menuId: this.queryParams.menuId,
                    substr: subTableName,
                    label: label,
                    level: 1,
                    ifSub_table_name: this.dataInfoCell.ifSub_table_name,
                    isDel: this.dataInfoCell.isDel,
                    tableHeaderList: this.tableHeaderList,
                    isBorrowingCar: this.celldbData.isBorrowingCar,
                    isElectronMatch: this.celldbData.isElectronMatch,
                   mjType: this.celldbData.mjType,
                   approvalStatus: this.celldbData.approvalStatus,
                    borrowId: this.celldbData.borrowId, // 借阅单的id,
                    isShowjieyue: this.celldbData.isShowjieyue // 借阅管理,
               }

               //     console.log(this.chuFushenParams,"++++++++++++++++")
               if (this.chuFushenParams != undefined) {
                    if (this.chuFushenParams.type == 'fushen' || this.chuFushenParams.type == 'chushen') {
                         var JIANDING = ""
                         if (this.chuFushenParams.type == 'fushen') {
                              JIANDING = row.FUSHEN_JIANDING
                         } else {
                              JIANDING = row.CHUSHEN_JIANDING
                         }
                         this.dataInfoCell2.NEWTITLE = row.NEWTITLE;
                         this.dataInfoCell2.JIANDING = JIANDING;
                    }
               }

               if (this.table == '') {
                 this.tableId = 'historyshop1'
               } else {
                 this.tableId = this.table
               }


               // console.log(this.dataInfoCell2,":____")
               if (getLastIndexOf(this.queryParams.subTableName) == "F") {
                    this.jianDetailsOpen = true; //入件详情页面
               } else {
                    this.projectjuanDetailsOpen = true
               }

          },


          //点击审查列表进入详情页面
          shengchaclick(row) {
               // console.log(row, "+++++")
               this.rowInfo = row;
               var subTableName = ""
               if (row.CATETYPE == "v_f") {  //F 件
                    subTableName = ""
               }
               var JIANDING = ""
               if (this.chuFushenParams.type == 'fushen') {
                    JIANDING = row.FUSHEN_JIANDING
               } else {
                    JIANDING = row.CHUSHEN_JIANDING
               }
               this.dataInfoCell2 = {
                    id: row.ID,
                    categoryId: this.queryParams.categoryId,
                    menuId: this.queryParams.menuId,
                    substr: subTableName,
                    label: row.TITLE,
                    level: 1,
                    ifSub_table_name: this.dataInfoCell.ifSub_table_name,
                    isDel: this.dataInfoCell.isDel,
                    NEWTITLE: row.NEWTITLE,
                    JIANDING: JIANDING,
                    tableHeaderList: this.tableHeaderList
               }

               if (row.CATETYPE == "v_f") {
                    // iskfjdorbgqx:0 //:iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限 :iskfjdorbgqx='2' 销毁鉴定  :iskfjdorbgqx='3' 密级鉴定
                    console.log(this.chuFushenParams.iskfjdorbgqx,"_____________________________")
                    if (this.chuFushenParams.iskfjdorbgqx == '0') {
                         choucha0({
                              daid: row.ID,
                              renwuid: this.chuFushenParams.renwuid,
                              type: row.CATETYPE
                         }).then(res => {
                              console.log(res)
                         })
                    }
                    if (this.chuFushenParams.iskfjdorbgqx == '1') {
                         choucha1({
                              daid: row.ID,
                              renwuid: this.chuFushenParams.renwuid,
                              type: row.CATETYPE
                         }).then(res => {
                              console.log(res)
                         })
                    }
                    if (this.chuFushenParams.iskfjdorbgqx == '2') {
                         choucha2({
                              daid: row.ID,
                              renwuid: this.chuFushenParams.renwuid,
                              type: row.CATETYPE
                         }).then(res => {
                              console.log(res)
                         })
                    }
                    if (this.chuFushenParams.iskfjdorbgqx == '3') {
                         choucha3({
                              daid: row.ID,
                              renwuid: this.chuFushenParams.renwuid,
                              type: row.CATETYPE
                         }).then(res => {
                              console.log(res)
                         })
                    }

                    this.jianDetailsOpen = true; //入件详情页面
               }

          },




          //关闭详情页面
          detailsHandleClose() {
               this.jianDetailsOpen = false;
               this.projectjuanDetailsOpen = false;

          },
          //排序
          sortChange(val) {
               this.queryParams.order = val;
               this.getlistPost();
          },
          //初审鉴定下拉修改
          onBlurDeitTap(data, type, JIANDING) {
               console.log(this.chuFushenParams,"lll")
               // iskfjdorbgqx:0 //:iskfjdorbgqx="0"  开放鉴定   :iskfjdorbgqx="1" 保管期限 :iskfjdorbgqx='2' 销毁鉴定
               if (this.chuFushenParams.iskfjdorbgqx == '0') {   //调用开放鉴定限初审和复审列表
                    if (this.chuFushenParams.type == "chushen") {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.CHUSHEN_JIANDING,
                                   level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   updateliyou({
                                        type: this.chuFushenParams.type,
                                        level: level,
                                        renwuid: this.chuFushenParams.renwuid,
                                        daid: daid,
                                        lyvalue: data.CHUSHEN_LIYOU,

                                   }).then(res => {

                                   })
                              }
                              updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              updateliyou({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   lyvalue: data.CHUSHEN_LIYOU,

                              }).then(res => {

                              })
                         } else { //备注
                              updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.CHUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }

                    } else {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.FUSHEN_JIANDING,
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   updateliyou({
                                        type: this.chuFushenParams.type,
                                        level: level,
                                        renwuid: this.chuFushenParams.renwuid,
                                        daid: daid,
                                        lyvalue: data.FUSHEN_LIYOU,

                                   }).then(res => {

                                   })
                              }
                              updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              updateliyou({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   lyvalue: data.FUSHEN_LIYOU,

                              }).then(res => {

                              })
                         } else { //备注
                              updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.FUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }
                    }
               }else if (this.chuFushenParams.iskfjdorbgqx == '1') {
                    if (this.chuFushenParams.type == "chushen") {
                         if (type == 1 || type == 4) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   if (data.CHUSHEN_CHUZHIFANGSHI == 1) {  //1  续存的情况下 jdvalue传值
                                        jdvalue = data.CHUSHEN_JIANDING
                                   } else {
                                        jdvalue = undefined
                                   }
                                   level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   bgqx_updateliyou({
                                        type: this.chuFushenParams.type,
                                        level: level,
                                        renwuid: this.chuFushenParams.renwuid,
                                        daid: daid,
                                        lyvalue: data.CHUSHEN_LIYOU,

                                   }).then(res => {

                                   })
                              }
                              bgqx_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                                   fsvalue: data.CHUSHEN_CHUZHIFANGSHI

                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              bgqx_updateliyou({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   lyvalue: data.CHUSHEN_LIYOU,

                              }).then(res => {

                              })
                         } else { //备注
                              bgqx_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.CHUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }

                    } else {
                         if (type == 1 || type == 4) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   if (data.FUSHEN_CHUZHIFANGSHI == 1) {  //1  续存的情况下 jdvalue传值
                                        jdvalue = data.FUSHEN_JIANDING
                                   } else {
                                        jdvalue = undefined
                                   }
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   bgqx_updateliyou({
                                        type: this.chuFushenParams.type,
                                        level: level,
                                        renwuid: this.chuFushenParams.renwuid,
                                        daid: daid,
                                        lyvalue: data.FUSHEN_LIYOU,

                                   }).then(res => {

                                   })
                              }
                              bgqx_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                                   fsvalue:data.FUSHEN_CHUZHIFANGSHI,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              bgqx_updateliyou({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   lyvalue: data.FUSHEN_LIYOU,

                              }).then(res => {

                              })
                         } else { //备注
                              bgqx_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.FUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }
                    }
               }else if (this.chuFushenParams.iskfjdorbgqx == '2') {
                    if (this.chuFushenParams.type == "chushen") {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.CHUSHEN_JIANDING,
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }

                              xh_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由

                         } else { //备注
                              xh_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.CHUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }

                    } else {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.FUSHEN_JIANDING,
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }

                              xh_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由

                         } else { //备注
                              xh_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.FUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }
                    }
               }else if(this.chuFushenParams.iskfjdorbgqx == '3'){
                    if (this.chuFushenParams.type == "chushen") {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.CHUSHEN_JIANDING,
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   // mj_updateliyou({
                                   //      type: this.chuFushenParams.type,
                                   //      level: level,
                                   //      renwuid: this.chuFushenParams.renwuid,
                                   //      daid: daid,
                                   //      lyvalue: data.CHUSHEN_LIYOU,

                                   // }).then(res => {

                                   // })
                              }
                              mj_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              // mj_updateliyou({
                              //      type: this.chuFushenParams.type,
                              //      level: data.CATETYPE,
                              //      renwuid: this.chuFushenParams.renwuid,
                              //      daid: data.ID,
                              //      lyvalue: data.CHUSHEN_LIYOU,

                              // }).then(res => {

                              // })
                         } else { //备注
                              mj_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.CHUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }

                    } else {
                         if (type == 1) {  //初审鉴定
                              var daid = "";
                              var jdvalue = "";
                              var level = "";
                              if (data != "") {
                                   daid = data.ID;
                                   jdvalue = data.FUSHEN_JIANDING,
                                        level = data.CATETYPE
                              } else {
                                   daid = this.rowInfo.ID;
                                   jdvalue = JIANDING
                                   level = this.rowInfo.CATETYPE
                              }
                              if (jdvalue == 1) {
                                   // mj_updateliyou({
                                   //      type: this.chuFushenParams.type,
                                   //      level: level,
                                   //      renwuid: this.chuFushenParams.renwuid,
                                   //      daid: daid,
                                   //      lyvalue: data.FUSHEN_LIYOU,

                                   // }).then(res => {

                                   // })
                              }
                              mj_updateshending({
                                   type: this.chuFushenParams.type,
                                   level: level,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: daid,
                                   jdvalue: jdvalue,
                              }).then(res => {
                                   this.$message({ message: res.msg, type: 'warning' })
                              })
                              this.jianDetailsOpen = false;
                              this.juanDetailsOpen = false;

                              this.getlistPost();
                         } else if (type == 2) { //初审控制理由
                              // mj_updateliyou({
                              //      type: this.chuFushenParams.type,
                              //      level: data.CATETYPE,
                              //      renwuid: this.chuFushenParams.renwuid,
                              //      daid: data.ID,
                              //      lyvalue: data.FUSHEN_LIYOU,

                              // }).then(res => {

                              // })
                         } else { //备注
                              mj_updatebeizhu({
                                   type: this.chuFushenParams.type,
                                   level: data.CATETYPE,
                                   renwuid: this.chuFushenParams.renwuid,
                                   daid: data.ID,
                                   beizhu: data.FUSHEN_BEIZHU
                              }).then(res => {

                              })
                         }
                    }
               }
          },

       // 档号查缺
       leakFilling() {
         this.leak.open = true
         this.$nextTick(() => {
           this.$refs.leakRef.init(this.treeRowData, this.celldbData.id)
         })
       },
       leakCancel() {
         this.leak.open = false
       },

       // 待归档修改案卷层的件
       handleDgdDeit(row,e) {
         this.openInfo = {
           opens: true,
           categoryId: this.queryParams.categoryId,
           ids: row.ID,
           menuId: this.treeRowData.menuId,
           folderId: undefined, //组卷id
           itemId: undefined, //项目Id
           subTableName: this.queryParams.subTableName,
           nodeType: this.treeRowData.nodeType,
           parentNodeType: this.treeRowData.parentNodeType,
           parentSubTableName: this.treeRowData.parentSubTableName,
           subStr: getLastIndexOf(this.queryParams.subTableName),
           type: e
         }
         if (e == 0) {
           this.jianOpen = true
         } else {
           this.juanOpen = true
         }
       },
       // 离线收集双击修改
       handleLxjsDeit(row, e) {
         this.openInfo = {
           opens: true,
           categoryId: this.queryParams.categoryId,
           ids: row.ID,
           menuId: this.treeRowData.menuId,
           folderId: undefined, //组卷id
           itemId: undefined, //项目Id
           subTableName: this.queryParams.subTableName,
           nodeType: this.treeRowData.nodeType,
           parentNodeType: this.treeRowData.parentNodeType,
           parentSubTableName: this.treeRowData.parentSubTableName,
           subStr: getLastIndexOf(this.queryParams.subTableName),
           type: e
         }
         if (e == 0) {
           this.jianOpen = true
         } else {
           this.juanOpen = true
         }
       },
       //文件整理修改
       handleWjzlDeit(row, e) {
         this.openInfo = {
           opens: true,
           categoryId: this.queryParams.categoryId,
           ids: row.ID,
           menuId: this.treeRowData.menuId,
           folderId: undefined, //组卷id
           itemId: undefined, //项目Id
           subTableName: this.queryParams.subTableName,
           nodeType: this.treeRowData.nodeType,
           parentNodeType: this.treeRowData.parentNodeType,
           parentSubTableName: this.treeRowData.parentSubTableName,
           subStr: getLastIndexOf(this.queryParams.subTableName),
           type: e
         }
         if (e == 0) {
           this.openInfo.button = 'wjzlFile'
           this.jianOpen = true
         } else {
           this.openInfo.button = 'wjzlFolder'
           this.juanOpen = true;
         }
       },
       handleDazjDeit(row, e) {
         this.openInfo = {
           opens: true,
           categoryId: this.queryParams.categoryId,
           ids: row.ID,
           menuId: this.treeRowData.menuId,
           folderId: undefined, //组卷id
           itemId: undefined, //项目Id
           subTableName: this.queryParams.subTableName,
           nodeType: this.treeRowData.nodeType,
           parentNodeType: this.treeRowData.parentNodeType,
           parentSubTableName: this.treeRowData.parentSubTableName,
           subStr: getLastIndexOf(this.queryParams.subTableName),
           type: e
         }
         if (e == 0) {
           this.jianOpen = true
         } else {
           this.juanOpen = true
         }
       },
       //著录成功
       submitDetail() {
         this.jianOpen = false;
         this.juanOpen = false;
         this.getlistPost();
       },
       //关闭件
       closeDelDialog() {
         this.jianOpen = false //件
         this.juanOpen = false //卷
         this.openInfo = ""
       },
     }
}
</script>

<style lang="less" scoped>
ul,
li,
p,
div {
     padding: 0;
     margin: 0;
}

/deep/.el-tabs--border-card>.el-tabs__content {
     padding: 0 !important;
}









.headerInfoButton {
     position: absolute;
     top: 16px;
     right: 60px;
}

::v-deep .el-dialog__body {
     padding: 10px 20px 25px !important;
}

.margin_t {
     margin-top: 10px;
}

.text-ellipsis {
     overflow: hidden;
     white-space: nowrap;
     text-overflow: ellipsis;
     -o-text-overflow: ellipsis;
}

.flex-row {
     display: flex;
     flex-direction: row;
}

.flex-row-bowtte {
     display: flex;
     flex-direction: row;
     justify-content: space-between
}

.itemList {
     padding: 10px 15px 10px;
}

.itemList p {
     line-height: 38px;
     display: block;
}

.demandFormVisible_dialog {
     .el-dialog__wrapper {
          pointer-events: none;

          ::v-deep .el-dialog {
               pointer-events: auto;
          }
     }
}




.dataList li {
     font-size: 1.6vh;
     line-height: 50px;
     border-bottom: 1px dashed #cccccc4d;
     // display: flex;
     // flex-direction: row;
}

.dataList li p {
     width: 70%;
     display: inline-block
}

.dataList li label {
     font-weight: bold;
     text-align: right;
     margin-right: 10px;
     display: inline-block
}

// .info-scroll {
//      overflow-y: scroll;
//      height: 900px;
// }
</style>
